<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<head>
<title>Sql操作数据库</title>
<script type="text/javascript">
$(document).ready(function(){
	$('#content').vaildAjax(function(data){
		BaseJs.alert(data);
	});
});
</script>
</head>
<body>
<s:form id="content" cssClass="confirm" action="sql/Sql" onsubmit="return false;">
	<h3>Sql操作数据库,谨慎！！</h3>
	<table class="form">
		<tr>
			<td><textarea class="required" name="sql"></textarea></td>
		</tr>
	</table>
	<div class="buttonGroup"><input type="submit" value="执行" /></div>
</s:form>
</body>
